package com.ruoyi.system.mapper.car4s_mapper;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.system.domain.car4s_domain.Car4sCustomerInfo;
import org.apache.ibatis.annotations.Mapper;

/**
 * 客户信息Mapper接口
 * 
 * @author LK
 * @date 2024-06-29
 */
@Mapper
public interface Car4sCustomerInfoMapper
{

    /**
     * 查询客户信息
     * 
     * @param customerId 客户信息主键
     * @return 客户信息
     */
    public Car4sCustomerInfo selectCar4sCustomerInfoByCustomerId(Long customerId);

    /**
     * 查询客户信息列表
     * 
     * @param car4sCustomerInfo 客户信息
     * @return 客户信息集合
     */
    public List<Car4sCustomerInfo> selectCar4sCustomerInfoList(Car4sCustomerInfo car4sCustomerInfo);

    /**
     * 新增客户信息
     * 
     * @param car4sCustomerInfo 客户信息
     * @return 结果
     */
    public int insertCar4sCustomerInfo(Car4sCustomerInfo car4sCustomerInfo);

    /**
     * 修改客户信息
     * 
     * @param car4sCustomerInfo 客户信息
     * @return 结果
     */
    public int updateCar4sCustomerInfo(Car4sCustomerInfo car4sCustomerInfo);

    /**
     * 删除客户信息
     * 
     * @param customerId 客户信息主键
     * @return 结果
     */
    public int deleteCar4sCustomerInfoByCustomerId(Long customerId);

    /**
     * 批量删除客户信息
     * 
     * @param customerIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCar4sCustomerInfoByCustomerIds(Long[] customerIds);
}
